# $Id: PKGBUILD 65475 2012-02-21 05:59:42Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Zhukov Pavel <gelios@gmail.com>

pkgname=synce-libsynce
pkgver=0.15.1
pkgrel=3
pkgdesc="provide a means of communication with a Windows CE device - libraries"
arch=('i686' 'x86_64')
url="http://synce.sourceforge.net/"
license=('GPL')
depends=('dbus-glib')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/synce/libsynce-$pkgver.tar.gz)
md5sums=('eaddc88c5f0027e89c6f0fffec34def2')

build() {
  cd $srcdir/libsynce-$pkgver
  ./configure --prefix=/usr --enable-odccm-support --enable-udev-support --disable-hal-support
  make
}

package() {
  cd $srcdir/libsynce-$pkgver
  make DESTDIR=$pkgdir install
}
